package com.yan.config;

import com.yan.bean.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserConfig {

    @Bean
    public User get(){
        return new User();
    }
    @Bean
    public User getUser(){
        return  new User();
    }
}
